#include <stdio.h>
/*
* I_2.c
*
*  Created on: April, 19, 2009
*      Author: yimingliu@fudan.edu.cn
*/

unsigned long funI_2_fun(unsigned long n)
{
	unsigned long x=0,s,i;	int t;
	s=n;
	i=1;
	while(s>0)
	{
		t=s%10;
		if(t%2==0){
			x=x+t*i;	i=i*10;
		}
		s=s/10;
	}
	return x;
}

void funI_2()
{
	unsigned long n=-1;
	while(n>99999999||n<0)
	{
		printf("Please input(0<n<100000000): ");
		scanf("%ld",&n);
	}
	printf("\nThe Result is: %ld\n",funI_2_fun(n));
}